public class java16 {
    public static void main(String[] args) {
        for (int x=1;x<10;x++){
            for(int y=1;y<=x;y++){
                System.out.print(x+"*"+y+"="+x*y+" ");
            }
            System.out.println("");
        }
    }
}
